Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Wed, 19 Aug 2026 17:55:58 +0000 (19:55 +0200)
committerMoritz Muehlenhoff <jmm@debian.org>
Wed, 19 Aug 2026 17:55:58 +0000 (19:55 +0200)
commit4076ae090c857d9890fbf5d45f7e06a7f4f99b7f
tree73675ffa4ff8fca1ea7663d7cf1433121bad7d1a
parentdde5d87fe0e8f314922c860bec5d38b0ad1e2e80
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp